//
//  SAConstractMModel.m
//  SAP
//
//  Created by 中矿科技有限公司 on 17/9/20.
//  Copyright © 2017年 中矿科技有限公司. All rights reserved.
//

#import "SAConstractMModel.h"

@implementation SAConstractMModel


+(NSArray *)getConstractMfromData:(NSMutableArray *)monthPlan{
    NSMutableArray *result =[NSMutableArray array];
    if (![monthPlan isKindOfClass:[NSArray class]]) {
        return result;
    }
    [monthPlan removeObjectAtIndex:0];
    for (NSDictionary * typeDict in monthPlan ) {
        SAConstractMModel *model =[SAConstractMModel mj_objectWithKeyValues:typeDict];
        [result addObject:model];
    }
    
    return result;
}

@end
